﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

namespace Evaluant.Uss.Linq
{
    public interface IInferrable<T> : IInferrable
    {
        IInferrable<T> Infer(Expression<Func<T, object>> relationship);
    }

    public interface IInferrable
    {
        IInferrable Infer<T>(Expression<Func<T, object>> relationship);
        IInferrable Infer(string relationship);

        bool DetachResult { get; set; }
    }
}
